<script type="text/javascript">
    $(document).ready(function() {
        $("#details_vn").ckeditor();
        $("#details_en").ckeditor();
        $("#details_jp").ckeditor();
        
        var site_urls = "<?php echo STATIC_DOMAIN; ?>";
        $('#file_upload').uploadify({
            'swf'      : site_urls+ "js/admin/uploadify/uploadify.swf",
            'uploader' : site_urls + "js/admin/uploadify/uploadify.php",
            'onUploadSuccess' : function(file, data, response) {
                $("#file_src").val(data);
            } 
            // Put your options here
        });
        
    });
</script>
<div id="page-header">
    <section class="grid_7">
      <form method="post" class="form" action="">
        <fieldset>
          <legend>Nhập sản phẩm</legend>
          
          <p>
            <label for="Pellentesque">Category :</label>
            <select id="Pellentesque" name="category_id" size="1">
                    <optgroup label="<?php echo $mainPro['name_vn']; ?>" >
                        <?php foreach ($listMainPro as $product) { ?>
                            <option value="<?php echo $product['id'] ?>" ><?php echo $product['name_vn']; ?></option>
                        <?php }?>
                  </optgroup>
                  <optgroup label="<?php echo $otherPro['name_vn']; ?>" >
                      <?php foreach($listOtherPro as $product) {; ?>
                            <option value="<?php echo $product['id'] ?>" ><?php echo $product['name_vn']; ?></option>
                      <?php } ?>
                  </optgroup>
            </select>
          </p>
<!--          Tên 3 ngôn ngũ-->
        <input type="file" name="file_upload" id="file_upload" />
        <input type="text" name="file_src" id="file_src" size="50"/>
        
        <div style="border: 1px solid #181818;"></div>
          <p>
            <label for="name">Name VN:</label>
            <input id="name_vn" type="text" name="name_vn" value=""/>
          </p>
          <p>
            <label for="name">Name English:</label>
            <input id="name_en" type="text" name="name_en" value=""/>
          </p>
          <p>
            <label for="name">Name Japan:</label>
            <input id="name_jp" type="text" name="name_jp" value=""/>
          </p>
          <div style="border: 1px solid #181818;"></div>
<!--          descript 3 ngôn ngữ-->
          <p>
            <label for="des">Description VN:</label>
            
            <textarea id="des_vn" cols="20" rows="4" name="des_vn" ></textarea>
          </p>
          <p>
            <label for="des">Description English:</label>
            <textarea id="des_en" cols="20" rows="4" name="des_en" ></textarea>
          </p>
          <p>
            <label for="des">Description Janpan:</label>
            <textarea id="des_jp" cols="20" rows="4" name="des_jp" ></textarea>
          </p>
          <div style="border: 1px solid #181818;"></div>
<!--            detail 3 ngôn ngữ-->
          <p>
            <label for="details">Detail VN:</label>
            <textarea id="details_vn" cols="20" rows="4" name="details_vn" ></textarea>
          </p>
          <p>
            <label for="details">Detail English:</label>
            <textarea id="details_en" cols="20" rows="4" name="details_en" ></textarea>
          </p>
          <p>
            <label for="details">Detail Japan:</label>
            <textarea id="details_jp" cols="20" rows="4" name="details_jp" ></textarea>
          </p>
          <p class="inline">
            <label>Sản phẩm nổi bật:</label>
            <label>
              <input type="checkbox" name="checkSet"  value="one" />
            </label>
          </p>
         <p>
            <label for="name">Order:</label>
            <input id="order_id" type="text" name="order_id" value=""/>
          </p>
          <p>
            <input type="submit" name='submit' value="OK" />
          </p>
        </fieldset>
      </form>
    </section>
    <br class="cl" />
  </div>
</div>